package com.wj.domain.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

/**
 * @description 用户信息
 * @author wj
 * @date 2021-11-30
 */
@Entity
@Data
@Table(name="user")
public class UserEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
    * id
    */
    @Id
    @Column(name="id")
    private Long id;

    /**
    * username
    */
    @Column(name="username")
    private String username;

    /**
    * password
    */
    @Column(name="password")
    private String password;

    /**
    * 0未激活，1正常，2注销
    */
    @Column(name="status")
    private Integer status;

    public UserEntity() {
    }

}